package com.anycl.design.j2ee.dataaccessobject;

import lombok.extern.slf4j.Slf4j;

@Slf4j
public class Main {
    public static void main(String[] args) {
        UserDao userDao = new UserDaoImpl();
        userDao.addUser(new User(1, "大喵"));
        User user = userDao.getUserById(1);
        log.info(user.toString());
    }
}
